package generator

import "beergo/plugins/maker"

func init() {
	Lib()
}

func Lib() {
	c := maker.CreateTable("Lib","实验室","check")
	c.AddTitle()
	c.AddText("cover","封面")
	c.AddManyToMany("business","检测范围","Category").SetIsControl(true).SetSrc("Category")
	c.AddJson("tags","资质")
	c.AddText("term","检测周期")
	c.AddText("company","公司名称")
	c.AddContent()
	c.AddCreateAt()

	c.Generate()
}
